import { ApiProperty, OmitType } from '@nestjs/swagger';
import { MenuDto } from 'src/db/dto';
import { ResponseBodyAllDto, ResponseBodyPaginationDto } from 'src/dto';

export class ReturnMenuTypeDto extends OmitType(MenuDto, ['isDeleted']) {

}

export class ReturnMenusPaginationDto extends ResponseBodyPaginationDto {
  @ApiProperty({
    type: [MenuDto]
  })
  data: MenuDto[]
}

export class ReturnMenusAllDto extends ResponseBodyAllDto {
  @ApiProperty({
    type: [MenuDto]
  })
  data: MenuDto[]
}

